

"""
从blf文件中解析出座舱3D渲染所需输入信息,并按照DCLC与IDC之间的通信协议将目标物 + 道线信息编码成json格式数据
"""

# 座舱3D渲染输入字典
BASE_DICT = {
    "object_list": {
        "obj_num": 0,
        "objects": []
        },
    "lane_lines": {
        "line_num": 4, 
        "lane_change":[0, 0], 
        "direction":0,
        "lines": []
    }
}

# 目标物属性字典
OBJ_ATTR_DICT = {
    "id": 0, 
    "identification":0,
    "obj_class": 10, 
    "dist_long": 0,
    "dist_lat": 0, 
    "vrel_long": 0, 
    "vrel_lat": 0, 
    "acceleration_long":0, #new
    "orientation_angle": 0, 
    "length": 0, 
    "width": 0, 
    "prob_of_obj": 0, 
    "dynamic_prop": 4, 
    "oncoming": 0,
    "blinker_info":0,  #new
    "brake_lights":0,  #new
    "following_mode": 0
}

# 道线属性字典
LINE_ATTR_DICT = {
    "id": 0, 
    "identification":0, 
    "type": 0, 
    "prob_of_line": 0, 
    "colour": 0, 
    "Crossing":0, # new
    "point_list": [0.0,0.0,0.0,0.0,0,0]  
}


        
        
    



